import BaseLayer from './baseLayer';
import { addLayerGroup } from './common';
export default class CityLayerGroup extends BaseLayer {
  addLayers() {
    this.layers = new addLayerGroup(
      this.scene,
      this.data,
      this.pointData,
      this.provinceTop10 // 地图颜色-跟省份颜色配置一样
    );
  }
  removeLayers() {
    this.layers.forEach(element => {
      this.scene.removeLayer(element);
    });
  }
}
